package com.bite.www2;

class C {
    int size2 = 999;

    public static void main(String[] args) {
        TestDemo1 testDemo1 = new TestDemo1();
        System.out.println(testDemo1.size);//99
    }
}
public class TestDemo1 {
    int size = 99;

    //包访问权限：只能在当前包使用
    public void show() {

        System.out.println(size);
    }

    public static void main(String[] args) {
        C c = new C();
        System.out.println(c.size2);//999
    }
}
